using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class huqiang_ImageAnimat_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase method;
            FieldInfo field;
            Type[] args;
            Type type = typeof(huqiang.ImageAnimat);
            args = new Type[]{};
            method = type.GetMethod("get_image", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_image_0);
            args = new Type[]{typeof(UnityEngine.Sprite[])};
            method = type.GetMethod("Play", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Play_1);
            args = new Type[]{typeof(UnityEngine.Sprite[][])};
            method = type.GetMethod("SetSprites", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetSprites_2);
            args = new Type[]{typeof(System.Int32[])};
            method = type.GetMethod("SetFrameEvent", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetFrameEvent_3);
            args = new Type[]{typeof(System.Int32[][])};
            method = type.GetMethod("SetFrameEvent", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetFrameEvent_4);
            args = new Type[]{typeof(System.Int32), typeof(System.Boolean)};
            method = type.GetMethod("Play", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Play_5);
            args = new Type[]{};
            method = type.GetMethod("Pause", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Pause_6);
            args = new Type[]{};
            method = type.GetMethod("Stop", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Stop_7);
            args = new Type[]{};
            method = type.GetMethod("get_IsPlaying", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_IsPlaying_8);
            args = new Type[]{};
            method = type.GetMethod("get_PlayIndex", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_PlayIndex_9);
            args = new Type[]{typeof(System.Single)};
            method = type.GetMethod("Update", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Update_10);
            args = new Type[]{};
            method = type.GetMethod("Dispose", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Dispose_11);

            field = type.GetField("conds", flag);
            app.RegisterCLRFieldGetter(field, get_conds_0);
            app.RegisterCLRFieldSetter(field, set_conds_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_conds_0, AssignFromStack_conds_0);
            field = type.GetField("allConds", flag);
            app.RegisterCLRFieldGetter(field, get_allConds_1);
            app.RegisterCLRFieldSetter(field, set_allConds_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_allConds_1, AssignFromStack_allConds_1);
            field = type.GetField("PlayOver", flag);
            app.RegisterCLRFieldGetter(field, get_PlayOver_2);
            app.RegisterCLRFieldSetter(field, set_PlayOver_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_PlayOver_2, AssignFromStack_PlayOver_2);
            field = type.GetField("Playing", flag);
            app.RegisterCLRFieldGetter(field, get_Playing_3);
            app.RegisterCLRFieldSetter(field, set_Playing_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_Playing_3, AssignFromStack_Playing_3);
            field = type.GetField("FrameEvent", flag);
            app.RegisterCLRFieldGetter(field, get_FrameEvent_4);
            app.RegisterCLRFieldSetter(field, set_FrameEvent_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_FrameEvent_4, AssignFromStack_FrameEvent_4);
            field = type.GetField("Loop", flag);
            app.RegisterCLRFieldGetter(field, get_Loop_5);
            app.RegisterCLRFieldSetter(field, set_Loop_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_Loop_5, AssignFromStack_Loop_5);
            field = type.GetField("PlayTime", flag);
            app.RegisterCLRFieldGetter(field, get_PlayTime_6);
            app.RegisterCLRFieldSetter(field, set_PlayTime_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_PlayTime_6, AssignFromStack_PlayTime_6);
            field = type.GetField("Interval", flag);
            app.RegisterCLRFieldGetter(field, get_Interval_7);
            app.RegisterCLRFieldSetter(field, set_Interval_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_Interval_7, AssignFromStack_Interval_7);
            field = type.GetField("autoHide", flag);
            app.RegisterCLRFieldGetter(field, get_autoHide_8);
            app.RegisterCLRFieldSetter(field, set_autoHide_8);
            app.RegisterCLRFieldBinding(field, CopyToStack_autoHide_8, AssignFromStack_autoHide_8);


            app.RegisterCLRCreateArrayInstance(type, s => new huqiang.ImageAnimat[s]);

            args = new Type[]{typeof(huqiang.Core.HGUI.HImage)};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);

        }


        static StackObject* get_image_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.image;

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* Play_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.Sprite[] @gif = (UnityEngine.Sprite[])typeof(UnityEngine.Sprite[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Play(@gif);

            return __ret;
        }

        static StackObject* SetSprites_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.Sprite[][] @sprites = (UnityEngine.Sprite[][])typeof(UnityEngine.Sprite[][]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetSprites(@sprites);

            return __ret;
        }

        static StackObject* SetFrameEvent_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32[] @conditions = (System.Int32[])typeof(System.Int32[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetFrameEvent(@conditions);

            return __ret;
        }

        static StackObject* SetFrameEvent_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32[][] @conditions = (System.Int32[][])typeof(System.Int32[][]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetFrameEvent(@conditions);

            return __ret;
        }

        static StackObject* Play_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Boolean @cover = ptr_of_this_method->Value == 1;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Int32 @index = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Play(@index, @cover);

            return __ret;
        }

        static StackObject* Pause_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Pause();

            return __ret;
        }

        static StackObject* Stop_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Stop();

            return __ret;
        }

        static StackObject* get_IsPlaying_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.IsPlaying;

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static StackObject* get_PlayIndex_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.PlayIndex;

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static StackObject* Update_10(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Single @time = *(float*)&ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Update(@time);

            return __ret;
        }

        static StackObject* Dispose_11(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.ImageAnimat instance_of_this_method = (huqiang.ImageAnimat)typeof(huqiang.ImageAnimat).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Dispose();

            return __ret;
        }


        static object get_conds_0(ref object o)
        {
            return ((huqiang.ImageAnimat)o).conds;
        }

        static StackObject* CopyToStack_conds_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.ImageAnimat)o).conds;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_conds_0(ref object o, object v)
        {
            ((huqiang.ImageAnimat)o).conds = (System.Int32[])v;
        }

        static StackObject* AssignFromStack_conds_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32[] @conds = (System.Int32[])typeof(System.Int32[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.ImageAnimat)o).conds = @conds;
            return ptr_of_this_method;
        }

        static object get_allConds_1(ref object o)
        {
            return ((huqiang.ImageAnimat)o).allConds;
        }

        static StackObject* CopyToStack_allConds_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.ImageAnimat)o).allConds;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_allConds_1(ref object o, object v)
        {
            ((huqiang.ImageAnimat)o).allConds = (System.Int32[][])v;
        }

        static StackObject* AssignFromStack_allConds_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32[][] @allConds = (System.Int32[][])typeof(System.Int32[][]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.ImageAnimat)o).allConds = @allConds;
            return ptr_of_this_method;
        }

        static object get_PlayOver_2(ref object o)
        {
            return ((huqiang.ImageAnimat)o).PlayOver;
        }

        static StackObject* CopyToStack_PlayOver_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.ImageAnimat)o).PlayOver;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_PlayOver_2(ref object o, object v)
        {
            ((huqiang.ImageAnimat)o).PlayOver = (System.Action<huqiang.ImageAnimat>)v;
        }

        static StackObject* AssignFromStack_PlayOver_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Action<huqiang.ImageAnimat> @PlayOver = (System.Action<huqiang.ImageAnimat>)typeof(System.Action<huqiang.ImageAnimat>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)8);
            ((huqiang.ImageAnimat)o).PlayOver = @PlayOver;
            return ptr_of_this_method;
        }

        static object get_Playing_3(ref object o)
        {
            return ((huqiang.ImageAnimat)o).Playing;
        }

        static StackObject* CopyToStack_Playing_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.ImageAnimat)o).Playing;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Playing_3(ref object o, object v)
        {
            ((huqiang.ImageAnimat)o).Playing = (System.Action<huqiang.ImageAnimat>)v;
        }

        static StackObject* AssignFromStack_Playing_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Action<huqiang.ImageAnimat> @Playing = (System.Action<huqiang.ImageAnimat>)typeof(System.Action<huqiang.ImageAnimat>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)8);
            ((huqiang.ImageAnimat)o).Playing = @Playing;
            return ptr_of_this_method;
        }

        static object get_FrameEvent_4(ref object o)
        {
            return ((huqiang.ImageAnimat)o).FrameEvent;
        }

        static StackObject* CopyToStack_FrameEvent_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.ImageAnimat)o).FrameEvent;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_FrameEvent_4(ref object o, object v)
        {
            ((huqiang.ImageAnimat)o).FrameEvent = (System.Action<huqiang.ImageAnimat, System.Int32>)v;
        }

        static StackObject* AssignFromStack_FrameEvent_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Action<huqiang.ImageAnimat, System.Int32> @FrameEvent = (System.Action<huqiang.ImageAnimat, System.Int32>)typeof(System.Action<huqiang.ImageAnimat, System.Int32>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)8);
            ((huqiang.ImageAnimat)o).FrameEvent = @FrameEvent;
            return ptr_of_this_method;
        }

        static object get_Loop_5(ref object o)
        {
            return ((huqiang.ImageAnimat)o).Loop;
        }

        static StackObject* CopyToStack_Loop_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.ImageAnimat)o).Loop;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_Loop_5(ref object o, object v)
        {
            ((huqiang.ImageAnimat)o).Loop = (System.Boolean)v;
        }

        static StackObject* AssignFromStack_Loop_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @Loop = ptr_of_this_method->Value == 1;
            ((huqiang.ImageAnimat)o).Loop = @Loop;
            return ptr_of_this_method;
        }

        static object get_PlayTime_6(ref object o)
        {
            return ((huqiang.ImageAnimat)o).PlayTime;
        }

        static StackObject* CopyToStack_PlayTime_6(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.ImageAnimat)o).PlayTime;
            __ret->ObjectType = ObjectTypes.Float;
            *(float*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_PlayTime_6(ref object o, object v)
        {
            ((huqiang.ImageAnimat)o).PlayTime = (System.Single)v;
        }

        static StackObject* AssignFromStack_PlayTime_6(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Single @PlayTime = *(float*)&ptr_of_this_method->Value;
            ((huqiang.ImageAnimat)o).PlayTime = @PlayTime;
            return ptr_of_this_method;
        }

        static object get_Interval_7(ref object o)
        {
            return ((huqiang.ImageAnimat)o).Interval;
        }

        static StackObject* CopyToStack_Interval_7(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.ImageAnimat)o).Interval;
            __ret->ObjectType = ObjectTypes.Float;
            *(float*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_Interval_7(ref object o, object v)
        {
            ((huqiang.ImageAnimat)o).Interval = (System.Single)v;
        }

        static StackObject* AssignFromStack_Interval_7(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Single @Interval = *(float*)&ptr_of_this_method->Value;
            ((huqiang.ImageAnimat)o).Interval = @Interval;
            return ptr_of_this_method;
        }

        static object get_autoHide_8(ref object o)
        {
            return ((huqiang.ImageAnimat)o).autoHide;
        }

        static StackObject* CopyToStack_autoHide_8(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.ImageAnimat)o).autoHide;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_autoHide_8(ref object o, object v)
        {
            ((huqiang.ImageAnimat)o).autoHide = (System.Boolean)v;
        }

        static StackObject* AssignFromStack_autoHide_8(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @autoHide = ptr_of_this_method->Value == 1;
            ((huqiang.ImageAnimat)o).autoHide = @autoHide;
            return ptr_of_this_method;
        }



        static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);
            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.HImage @img = (huqiang.Core.HGUI.HImage)typeof(huqiang.Core.HGUI.HImage).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = new huqiang.ImageAnimat(@img);

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


    }
}
